 <ion-modal-view class="chatGiveRedBag" ng-class="{'ios-os':isIOSApp}">
 	<ion-header-bar class="item-input-inset">
		<i class="ion-chevron-left" on-tap="closeModal_red()"></i>
		<p class="title">发红包</p>
 	</ion-header-bar>
 	
	<ion-content class="bg">
		<div class="tipDiv">
			单个红包限额{{data.redlimit.amount}}，单日红包次数{{data.redlimit.number}}，单次红包个数{{data.redlimit.times}}
		</div>
		
		<div class="list list-inset">
			<li class="item item-input mainItem">
				总金额
				<input type="number" placeholder="请输入总金额" ng-model="input.money"/>元
			</li>
			<li class="item item-input mainItem border">
				红包个数
				<input type="number" placeholder="请输入红包个数" ng-model="input.count"/>个
			</li>
			<li class="item advanceItem">
				可用余额{{advance}}元
			</li>
			
			<li class="item momeItem">
				<textarea placeholder="恭喜发财，大吉大利" ng-model="input.memo"></textarea>
			</li>
			<li class="item radioItem">
				最多可发{{max_redNum}}人
				<div class="rightDiv">
					<span on-tap="rule_choose('fixed')"><img src="{{rule=='fixed'?'./img/guilin/other/icon_check@2x.png':'./img/guilin/other/icon_checkno@2x.png'}}" />平分</span>
					<span on-tap="rule_choose('random')"><img src="{{rule=='random'?'./img/guilin/other/icon_check@2x.png':'./img/guilin/other/icon_checkno@2x.png'}}" />随机</span>
				</div>
			</li>
			<li class="item btnItem" ng-class="{'red':input.money&&input.count}" on-tap="openModal_confirm()">
				塞钱进红包
				<input type="search" id="inputPass" ng-model="input.password" class="inputPassHide_pay"/>
			</li>
		</div>
	</ion-content>  
	
</ion-modal-view>
